/**
 * @author hoang.pt
 * @version $Id: Process.java 124 2010-08-31 08:12:28Z phantichhoang $aaa
 */

package snippet.lab2;

/**
 * Process entity
 * @author hoang.pt
 */
public class Process {
    /**
     * constructor
     */
    public Process() {
    }

    
    /**
     * Main 
     * @param args
     */
    public static void main(String[] args) {
        //new Process();

        //init entity
        Account aptech = new Account();

        Drawing d1 = new Drawing("thien.dh", 20, aptech);
        Drawing d2 = new Drawing("oanh.lk", 90, aptech);
        Drawing d3 = new Drawing("hoang.pt", 10, aptech);

        try {
            d1.t.join();
            d2.t.join();
            d3.t.join();
        } catch(InterruptedException ex) {
            ex.printStackTrace();
        }

        System.out.println("All drawing done.");
    }

}
